
import './assets/main.css'


import { createApp } from 'vue'
import App from './App.vue'

import router from '@/router'

import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import TDesign from 'tdesign-vue-next'
import { Icon as TIcon } from 'tdesign-icons-vue-next'
import 'tdesign-vue-next/es/style/index.css';

const app = createApp(App)

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

app.use(pinia)
app.use(router)
app.use(TDesign)

app.component('t-icon', TIcon)

app.mount('#app')

import '@/assets/theme.css'